package com.itrh.org.mapper;

import com.itrh.base.mapper.BaseMapper;
import com.itrh.org.domain.Department;
import com.itrh.org.domain.Employee;
import com.itrh.org.query.DepartmentQuery;
import com.itrh.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * InterfaceName: EmployeeMapper
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/4/2 16:42
 */
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee selectByUserName(String username);

    void batchSave(List<Employee> list);

    List<Employee> export(String name);
}
